package com.systemCapacity.controller;


import cn.hutool.crypto.SecureUtil;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.systemCapacity.common.lang.Result;
import com.systemCapacity.entity.User;
import com.systemCapacity.service.BattlePlatformDeviceService;
import com.systemCapacity.service.DeviceService;
import com.systemCapacity.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.time.LocalDateTime;

@RestController
@RequestMapping("/device")
public class DeviceController {

    @Autowired
    DeviceService deviceService;


    @GetMapping("/transfer")
    public Result transfer() throws Exception{
        deviceService.changePlatformDeviceId();
        return null;
    }

}
